import java.io.Serializable;

public class RoundManager implements Serializable{
	private int roundID;
	private int currHigh;
	private int tableNumber;
	
	public boolean isGameOver, GameInProgress = false;

	RoundManager(int tableNumber){
		roundID = 0;
		currHigh = 10;
		this.tableNumber = tableNumber;
	}

	public int getRoundID(){
		return roundID;
	}
	
	public void resetRoundID()
	{
		roundID = 1;
	}

	public int getTableNumber(){
		return tableNumber;
	}

	public int getCurrHigh(){
		return currHigh;
	}

	public void updateRoundID(){
		roundID++;
	}

	public synchronized void updateCurrentHigh(int Value){
		//if(Value > currHigh)
			currHigh = currHigh + Value;
	}
	public boolean isFirstRound()
	{
		if(roundID == 1)
			return true;
		else
			return false;
	}

}
